package com.hdu.careerplan.controller;

import com.hdu.careerplan.pojo.vo.Result;
import com.hdu.careerplan.pojo.vo.ResultData;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@CrossOrigin
@RequestMapping("/connect")
public class ConnectTestController {


    @GetMapping("/test")
    public ResultData connectTest() {
        return Result.success("ok");
    }


}
